package com.teacher.pojo.enums;

/**
 * @Author: zfm
 * @Date: 2021/8/1 17:11
 */
public enum VolunteerStarType {
    /**
     * 志愿者等级类型
     */
    ONE(10, "一星"), TWO(20, "二星"), THREE(30, "三星"),
    FOUR(40, "四星"), FIVE(50, "五星");
    private String type;
    private Integer code;

    VolunteerStarType(Integer code, String type) {
        this.code = code;
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
